package com.dlc.shop.delivery.common.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 网点配置
 * @author TRACK
 */
@Data
@TableName("tz_outlet_config")
@Schema(description = "网点配置")
public class OutletConfig implements Serializable{
    private static final long serialVersionUID = 1L;

    @TableId
    private Long outletConfigId;
    @Schema(description = "创建时间")
    private Date createTime;
    @Schema(description = "更新时间")
    private Date updateTime;
    @Schema(description = "店铺id")
    private Long shopId;
    @Schema(description = "快递公司类型")
    private Integer deliveryCompanyType;
    @Schema(description = "发货人")
    private String shipper;
    @Schema(description = "发货人电话")
    private String mobile;
    @Schema(description = "电子面单客户账户或月结账号")
    private String partnerId;
    @Schema(description = "电子面单密码")
    private String partnerKey;
    @Schema(description = "收件网点名称")
    private String net;
    @Schema(description = "纸张规格 1.一联面单 2.二联面单")
    private Integer paperSize;
    @Schema(description = "是否默认 0否1是")
    private Integer isDefault;
    @Schema(description = "发货地址")
    private String printAddr;
    @Schema(description = "商家地址id")
    @TableField(exist = false)
    private Long shopAddrId;
}
